package com.seanliao.nav.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * Spring Security 自定义配置
 */
@Data
@Component
@ConfigurationProperties("my.security")
public class SecurityProperties {

    /**
     * 跨域白名单
     */
    private List<String> corsWhite;

    /**
     * 路径白名单
     */
    private List<String> urlWhite;

}
